<template>
	<div class="test">
		<button @click="demo1">点击获取数据</button>
		<!-- <h1>{{b}}</h1> -->
		<!-- <h1>{{name}}</h1> -->
		<!-- <h1>{{age}}</h1> -->
	</div>
</template>

<script>

	export default {
		name:'Test',
		methods:{
			demo1(){
				this.$store.dispatch('getRollPlayList')
			}
		}
	}
</script>

<style lang="less" scoped>
.test{
	background-color: gray;
	height: 200px;
	button{
		width: 320px;
		height: 50px;
		font-size: 20px;
	}
}
</style>